package com.atguigu.spzx.user.service;

import com.atguigu.spzx.model.entity.user.UserAddress;

import java.util.List;

/**
 * ClassName: UserAddressService
 * Package: com.atguigu.spzx.user.service
 * Description:
 *
 * @Author 刘强
 * @Create 2024/7/17 17:10
 * @Version 1.0
 */
public interface UserAddressService {
    /**
     * 获取用户的地址列表
     * @return
     */
    List<UserAddress> findUserAddressList();

    /**
     * 根据id获取用户地址
     * @param id
     * @return
     */
    UserAddress getUserAddressById(Long id);
}
